package com.myioc.utils;



public class StringUtil {

    // 首字母转小写
    public static String toLowerCaseFirstOne(String s){
//        if (s==null){
//            throw new Exception("The parameter is null！");
//        }
        if (Character.isLowerCase(s.charAt(0)))
            return s;
        else
            return (new StringBuilder()).append(Character.toLowerCase(s.charAt(0))).append(s.substring(1)).toString();
    }
}
